//
//  UIImage+ExtenS.h
//  MyUIStudy
//
//  Created by 李彦宏 on 2018/4/4.
//  Copyright © 2018年 KouBeiClass. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (ExtenS)
/**
 *  返回一张由颜色组成的图片
 */
+ (UIImage *)imageFromColor:(UIColor *)color;

/**
 *  返回一张自由拉伸的图片
 */
+ (UIImage *)resizedImageWithName:(NSString *)name;
+ (UIImage *)resizedImageWithName:(NSString *)name left:(CGFloat)left top:(CGFloat)top;

@end
